/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.campusinfoeducation.service;

import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.lczyfz.campusinfo.common.persistence.Page;
import com.lczyfz.campusinfo.common.service.CrudService;
import com.lczyfz.campusinfo.modules.campusinfoeducation.entity.CampusinfoPubmed;
import com.lczyfz.campusinfo.modules.campusinfoeducation.dao.CampusinfoPubmedDao;

/**
 * 考研信息管理Service
 *
 * @author yt
 * @version 2017-10-18
 */
@Service
@Transactional(readOnly = true)
public class CampusinfoPubmedService extends CrudService<CampusinfoPubmedDao, CampusinfoPubmed> {
    CampusinfoPubmedDao campusinfoPubmedDao;
    public CampusinfoPubmed get(String id) {
        return super.get(id);
    }

    public List<CampusinfoPubmed> findList(CampusinfoPubmed campusinfoPubmed) {
        return super.findList(campusinfoPubmed);
    }

    public Page<CampusinfoPubmed> findPage(Page<CampusinfoPubmed> page, CampusinfoPubmed campusinfoPubmed) {
        return super.findPage(page, campusinfoPubmed);
    }
    public CampusinfoPubmed getOrderCode(CampusinfoPubmed campusinfoPubmed){
        return campusinfoPubmedDao.getOrderCode(campusinfoPubmed);
    }
    @Transactional(readOnly = false)
    public void save(CampusinfoPubmed campusinfoPubmed) {
        super.save(campusinfoPubmed);
    }

    @Transactional(readOnly = false)
    public void delete(CampusinfoPubmed campusinfoPubmed) {
        super.delete(campusinfoPubmed);
    }

}